import request from "@/utils/request";

// 查询月报管理列表
export function listBizMonthDept(query) {
  return request({
    url: "/biz/bizMonthDept/list",
    method: "get",
    params: query,
  });
}

// 查询月报管理详细
export function getBizMonthDept(id) {
  return request({
    url: "/biz/bizMonthDept/" + id,
    method: "get",
  });
}

// 新增月报管理
export function addBizMonthDept(data) {
  return request({
    url: "/biz/bizMonthDept",
    method: "post",
    data: data,
  });
}

// 修改月报管理
export function updateBizMonthDept(data) {
  return request({
    url: "/biz/bizMonthDept",
    method: "put",
    data: data,
  });
}

// 删除月报管理
export function delBizMonthDept(id) {
  return request({
    url: "/biz/bizMonthDept/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizMonthDept/findMaxSort",
    method: "get",
  });
}
// 导出月报管理
export function exportBizMonthDept(query) {
  return request({
    url: "/biz/bizMonthDept/export",
    method: "get",
    params: query,
  });
}
